{% extends 'SonataAdminBundle:CRUD:base_show_field.html.twig' %}

{% block field %}
    {% if object.gender %}
        Male
    {% elseif object.gender is null %}
        Undefined
    {% else %}
        Female
    {% endif %}
{% endblock %}